package cn.stylefeng.guns.modular.basic.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 收货单位表
 */
@Data
@TableName("basic_putgoods")
public class BasicPutgoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 新零帮id
     */
    @TableField("xlb_client_id")
    private String xlbClientId;

    /**
     * 字典id
     */
    @TableField("dict_id")
    private Long dictId;

    /**
     * 客户id
     */
    @TableField("putgoods_customer_id")
    private Integer putgoodsCustomerId;

    /**
     * 客户名称
     */
    @TableField("putgoods_operate_name")
    private String putgoodsOperateName;

    /**
     * 收货单位名称
     */
    @TableField("putgoods_name")
    private String putgoodsName;

    /**
     * 单位编号
     */
    @TableField("unit_number")
    private String unitNumber;
    
    /**
     * 注意事项一
     */
    @TableField("careful1")
    private String careful1;
    
    /**
     * 注意事项一编码
     */
    @TableField("careful1_code")
    private String careful1Code;
    
    /**
     * 注意事项二
     */
    @TableField("careful2")
    private String careful2;
    
    /**
     * 注意事项二编码
     */
    @TableField("careful2_code")
    private String careful2Code;
    
    /**
     * 注意事项三
     */
    @TableField("careful3")
    private String careful3;
    
    /**
     * 注意事项三编码
     */
    @TableField("careful3_code")
    private String careful3Code;
    
    /**
     * 注意事项四
     */
    @TableField("careful4")
    private String careful4;
    
    /**
     * 注意事项四编码
     */
    @TableField("careful4_code")
    private String careful4Code;

    /**
     * 助记码
     */
    @TableField("help_code")
    private String helpCode;

    /**
     * 单位类别
     */
    @TableField("unit_category")
    private String unitCategory;

    /**
     * 单位类型
     */
    @TableField("unit_type")
    private String unitType;

    /**
     * 出库规则
     */
    @TableField("out_rule")
    private String outRule;

    /**
     * 片区
     */
    @TableField("area")
    private String area;

    /**
     * 预收期
     */
    @TableField("collect")
    private String collect;

    /**
     * 执行价格
     */
    @TableField("price")
    private String price;

    /**
     * 联系人
     */
    @TableField("putgoods_contacts")
    private String putgoodsContacts;

    /**
     * 电话
     */
    @TableField("putgoods_tel")
    private String putgoodsTel;

    /**
     * 邮箱
     */
    @TableField("putgoods_emall")
    private String putgoodsEmall;

    /**
     * 网址
     */
    @TableField("putgoods_website")
    private String putgoodsWebsite;

    /**
     * 经营范围
     */
    @TableField("putgoods_range")
    private String putgoodsRange;

    /**
     * 行业类型
     */
    @TableField("putgoods_industry")
    private String putgoodsIndustry;

    /**
     * 所属省份
     */
    @TableField("putgoods_provinces")
    private String putgoodsProvinces;

    /**
     * 所在城市
     */
    @TableField("putgoods_ciywhere")
    private String putgoodsCiywhere;

    /**
     * 开户行
     */
    @TableField("putgoods_bank")
    private String putgoodsBank;

    /**
     * 银行账号
     */
    @TableField("putgoods_bankaccount")
    private String putgoodsBankaccount;

    /**
     * 社会统一信用代码
     */
    @TableField("putgoods_creditcode")
    private String putgoodsCreditcode;

    /**
     * 地址
     */
    @TableField("putgoods_address")
    private String putgoodsAddress;

    /**
     * 备注
     */
    @TableField("putgoods_notes")
    private String putgoodsNotes;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;


    /**
     * 备货口
     */
    @TableField("stock_port")
    private String stockPort;

	@Override
    public String toString() {
        return "BasicPutgoods{" +
        "id=" + id +
        ", putgoodsCustomerId=" + putgoodsCustomerId +
        ", putgoodsOperateName=" + putgoodsOperateName +
        ", putgoodsName=" + putgoodsName +
        ", unitNumber=" + unitNumber +
        ", helpCode=" + helpCode +
        ", unitCategory=" + unitCategory +
        ", outRule=" + outRule +
        ", area=" + area +
        ", collect=" + collect +
        ", price=" + price+
        ", putgoodsContacts=" + putgoodsContacts +
        ", putgoodsTel=" + putgoodsTel +
        ", putgoodsEmall=" + putgoodsEmall +
        ", putgoodsWebsite=" + putgoodsWebsite +
        ", putgoodsRange=" + putgoodsRange +
        ", putgoodsIndustry=" + putgoodsIndustry +
        ", putgoodsProvinces=" + putgoodsProvinces +
        ", putgoodsCiywhere=" + putgoodsCiywhere +
        ", putgoodsBank=" + putgoodsBank +
        ", putgoodsBankaccount=" + putgoodsBankaccount +
        ", putgoodsCreditcode=" + putgoodsCreditcode +
        ", putgoodsAddress=" + putgoodsAddress +
        ", putgoodsNotes=" + putgoodsNotes +
        ", version=" + version +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        "}";
    }
}
